package com.cndw.kungfu.domain;

import com.cndw.kungfu.vo.goodsvo.GoodsSuitePropVO;

/**
 * 套装配置
 * 
 * 
 * @author <a href="mailto:whz-work@163.com">汪洪州</a>
 * 
 * @since 1.0 Create on 2011-6-23
 */
public class GoodsSuiteProp {

	/**
	 * 加成条件
	 */
	private int conditions;

	/**
	 * 加血
	 */
	private int hp;

	/**
	 * 加蓝
	 */
	private int mp;

	/**
	 * 攻击
	 */
	private int attack;

	/**
	 * 防御
	 */
	private int defense;

	/**
	 * 命中
	 */
	private int hit;

	/**
	 * 暴击
	 */
	private int crit;

	/**
	 * 韧性
	 */
	private int tough;

	/**
	 * 闪避
	 */
	private int dodge;

	public int getHp() {
		return hp;
	}

	public void setHp(int hp) {
		this.hp = hp;
	}

	public int getMp() {
		return mp;
	}

	public void setMp(int mp) {
		this.mp = mp;
	}

	public int getAttack() {
		return attack;
	}

	public void setAttack(int attack) {
		this.attack = attack;
	}

	public int getDefense() {
		return defense;
	}

	public void setDefense(int defense) {
		this.defense = defense;
	}

	public int getConditions() {
		return conditions;
	}

	public void setConditions(int conditions) {
		this.conditions = conditions;
	}

	public int getHit() {
		return hit;
	}

	public void setHit(int hit) {
		this.hit = hit;
	}

	public int getCrit() {
		return crit;
	}

	public void setCrit(int crit) {
		this.crit = crit;
	}

	public int getTough() {
		return tough;
	}

	public void setTough(int tough) {
		this.tough = tough;
	}

	public int getDodge() {
		return dodge;
	}

	public void setDodge(int dodge) {
		this.dodge = dodge;
	}

	public GoodsSuitePropVO toGoodsSuitePropVO() {
		GoodsSuitePropVO propVO = new GoodsSuitePropVO();
		propVO.setConditions(getConditions());
		propVO.setHp(getHp());
		propVO.setMp(getMp());
		propVO.setAttack(getAttack());
		propVO.setDefense(getDefense());
		propVO.setCrit(getCrit());
		propVO.setHit(getHit());
		propVO.setTough(getTough());
		propVO.setDodge(getDodge());
		return propVO;
	}
}
